import java.util.Scanner;
class Dog {
    public String name;
    public String color;
    public void call(){
        System.out.println(name+"汪汪汪叫");
    }
    public void wag(){
        System.out.println(name+"狂摇尾巴");
    }
}
public class test7 {
    public static void main(String[] args) {
        Dog abc= new Dog();
        abc.name="小胡";
        abc.color="黑色";
        abc.call();
        abc.wag();
    }
}

